package swu.edu.cn.javaee.mapper;

import org.springframework.stereotype.Repository;
import swu.edu.cn.javaee.entity.Friend;

import java.util.List;

@Repository
public interface FriendMapper {
    public Friend queryFriend(Friend friend);

    public List<Friend> queryFriendList(String userId);

    public List<Friend> queryByUserGroup(String userGroup);

    public void saveFriend(Friend friend);

    public void updateFriend(Friend friend);

    public void deleteFriend(Friend friend);
}
